public class Main {
    public static void main(String[] args) {
        while(true){
            for (int day = 1; day <= 365 ; day++) {
                if(day%2==1){
                    System.out.println("学业有成");
                }else{
                    System.out.println("万事如意");
                }
            }
        }
    }
}
